﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MvcShop.Extensions
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class AreaAttribute : Attribute
    {
        public AreaAttribute(string name)
        {
            if (name == null) throw new ArgumentNullException("name");
            this.Name = name;
        }

        public string Name { get; private set; }
    }
}
